import { ElNotification } from 'element-plus'

export const GlobalNotification = (options: any) => {
  if (!options.duration) {
    options.duration = 3000
  }
  ElNotification({
    ...options,
    offset:50,
  })
}
